//
//  XLMineSwitchCellModel.m
//  Mine
//
//  Created by 于鹏 on 2017/8/30.
//  Copyright © 2017年 YIVIEW. All rights reserved.
//

#import "XLMineSwitchCellModel.h"
static NSString *XLMineSwitchCellModelCellClass = @"XLMineSwitchTableViewCell";

@implementation XLMineSwitchCellModel

- (instancetype)initWithTitle:(NSString *)title switchType:(BOOL)on switchBlock:(switchBlock)block {
    self = [super initWithTitle:title actionBlock:nil];
    if (self) {
        self.cellClass = XLMineSwitchCellModelCellClass;
        self.switchBlock = block;
        self.showArrow = NO;
        self.on = on;
        self.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    return self;
}

@end
